# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-filteralchemy-fork
_pkgname=filteralchemy-fork
pkgver=0.1.0
pkgrel=7
pkgdesc='Declarative query builder for SQLAlchemy.'
arch=('any')
url='https://pypi.org/project/filteralchemy-fork/#files'
license=('MIT')
depends=('python' 'python-sqlalchemy')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('69be54f7356e92e1266c29b7f3f7c7efeb6e32fedf7b689736a3840fcf521f2c09c737de0bb0c35a73cd042def10f170571b421abb2fc3d8287c0af2aed99b69')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

